package com.zoe.onelink.core.validation.strategy;

import java.util.Map;

/**
 * 校验策略接口
 */
public interface ValidateStrategy<T> {
    /**策略名称*/
    String name();

    boolean valid(T  target, Map<String, Object> contextMap);
}
